<?php
/*********************************************
  CPG Dragonfly™ CMS
  ********************************************
  Copyright © 2004 - 2007 by CPG-Nuke Dev Team
  http://dragonflycms.org

  Dragonfly is released under the terms and conditions
  of the GNU GPL version 2 or any later version

  $Source$
  $Revision$
  $Author$
  $Date$
**********************************************/
if (!defined('INSTALL')) { exit; }

$upgrade_failed = "<br /><br />Please contact the CPG-Nuke Dev Team about the error<br />You cannot continue with the installation";
		echo '<h3>'.$instlang['s3_sync_data'].':</h3>';

if (version_compare($version, '9.3.2.2', '<')) {
	exit('Upgrade needs atleast v9.3.2.2');
}

if (version_compare($version, '10.0.9.33', '<')) {
	$db->delete('security_agents', 'agent_name LIKE "Google%"');
	$db->delete('security_agents', 'agent_name LIKE "Yahoo%"');
	$db->delete('security_agents', 'agent_name LIKE "Yandex%"');
}
